<template>
  <view>
    <page-head :title="title"></page-head>
    <view>用户名：{{username}}</view>
    <view>用户ID:{{userid}}</view>
  </view>
</template>

<script>
export default {
  data() {
    return {
      title: '新建的页面',
      username: "",
      userid: 0
    }
  },
  onLoad(options) {
    console.log("navigate--->onLoad--->" + JSON.stringify(options));
  },
  onShow() {
    console.log("navigate-->onShow-->");
  },
  onReady() {
  },
  onHide() {
  },
  onUnload() {
    //页面卸载
  },
  methods: {
  }
}
</script>

<style>
</style>
